﻿using System;

namespace Framework
{
    public interface IEventTarget
    {
        public void AddListener(int type, Action<ETEvent> onEvent);

        public void RemoveListener(int type, Action<ETEvent> onEvent);

        public void Emit(int type, params object[] args);
    }
}